package com.yzyz.bean.scenic;

import com.yzyz.bean.BaseBean;

/**
 * 景区描述
 * @author David Sun
 * @Date   2010-3-28
 *
 */
public class DescriptionBean extends BaseBean{

	@Override
	public boolean equals(Object obj) {
		if(obj == null){
			return false;
		}
		if(obj instanceof DescriptionBean){
			DescriptionBean des = (DescriptionBean)obj;
			if(des.getId() == this.id){
				return true;
			}
		}
		return false;
	}

	private static final long serialVersionUID = -3660361500377733177L;
	
	private String contents;
	
	private int ownerId;

	public int getOwnerId() {
		return ownerId;
	}

	public void setOwnerId(int ownerId) {
		this.ownerId = ownerId;
	}

	public String getContents() {
		return contents;
	}

	public void setContents(String contents) {
		this.contents = contents;
	}
	
	public DescriptionBean(){
		super();
	}
	
}
